package IA;

/**
 * Class to create and set comment variables
 * @author christopher
 */
public class Comment {
    private String name;
    private String comment;
    private Boolean isApproved;
    
    public Comment(){}
    
    /**
     * Constructor for the Comment Class
     * @param name
     * @param comment
     */
    public Comment(String name, String comment){
        this.name = name;
        this.comment = comment;
        this.isApproved = false;
    }
    
    @Override
    public String toString(){
        return name+"/"+comment;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    
    public Boolean getIsApproved() {
        return isApproved;
    }

    public void setIsApproved(Boolean isApproved) {
        this.isApproved = isApproved;
    }

}
